GtkFilechooserNative: add macOS support
authorTom Schoonjans <Tom.Schoonjans@diamond.ac.uk>
Fri, 30 Jun 2017 20:34:05 +0000 (21:34 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Jul 2017 17:30:44 +0000 (13:30 -0400)
commitff2c5e3820d41a752ebdcd75457fad85b465b617
treee88c59279c86b70a196a2741a0804a6c9f2b7846
parenta9a25e2e846a79a892cad85db69eaa999efd7c15
GtkFilechooserNative: add macOS support

Based on the Win32 implementation, as well as the macOS file chooser
from
https://github.com/GNOME/gedit/blob/master/gedit/gedit-file-chooser-dialog-osx.[ch]
Not fully tested yet, but working properly so far.
TODO: filter support, extra widget (label), documentation...

https://bugzilla.gnome.org/show_bug.cgi?id=784723
gtk/Makefile.am
gtk/gtkfilechoosernative.c
gtk/gtkfilechoosernativeprivate.h
gtk/gtkfilechoosernativequartz.c [new file with mode: 0644]